<extend name="Public:innerbase" />
<block name="content">
<div class="container-fluid">

	<a style="margin:10px 0;" href="{:U('User/Turn/add')}" title='新增幸运大转盘活动' class='btn btn-success'>新增幸运大转盘活动</a>
	<TABLE class="table wm-table-bordered">
		<THEAD>
		<TR>
		
			<TH>参与人数</TH>
			
			<TH class="norightborder">操作</TH>
		</TR>
		</THEAD>
		<TBODY>
		<volist id="list" name="list">
		<TR>
			<TD>{$list.joinnum}</TD>			
			<TD class="norightborder">
			<a href="{:U('User/Turn/sn',['id'=>$list['id']])}">中奖名单</a>
			<a href="{:U('User/Turn/edit',['id'=>$list['id']])}">编辑</a>	
			</TD>
		</TR>
		</volist>
		</TBODY>
	</TABLE>
</div>
</block>
<include file="Public:shead"/>  
        <div class="content">
          <div class="cLineB">
              <h4 class="left">幸运大转盘活动信息 ({$count}) 条<span class="FAQ"></span></h4>
                  <div class="searchbar right">  <form method="get"  action="index.php"  >
                  <input type="text" id="msgSearchInput" class="txt left" placeholder="输入关键词搜索"  name="keyz" value="">
                  <input type="hidden" name="ac" value="activity-lottery-list"  />
                  <input type="hidden" name="id" value="9878"  />
                  <input type="hidden" name="wxid" value="gh_423dwjkewad"  />
                 
                  <input type="submit" value="搜索" id="msgSearchBtn" href="" class="btnGrayS" title="搜索">
                  </form>
                  </div>
              <div class="clr"></div>
          </div>
          <div class="cLine">
            <div class="pageNavigator left">
			
              
            </div>
          
            <div class="clr"></div>
          </div>
          <div class="msgWrap">
          <form method="post"  action="" id="info" >
          <input name="delall"  type="hidden" value="" />
           <input name="wxid"  type="hidden" value="" />
           
           </form> 
           <script>
   function checkvotethis() {
var aa=document.getElementsByName('del_id[]');
var mnum = aa.length;
j=0;
for(i=0;i<mnum;i++){
if(aa[i].checked){
j++;
}
}
if(j>0) {
document.getElementById('info').submit();
} else {
alert('未选中任何文章或回复！')
}
}

   </script>
          </div>
            
 
          <div class="cLine">
            <div class="pageNavigator right">
                 <div class="pages"></div>
              </div>
            <div class="clr"></div>
          </div>
        </div>

        <div class="clr"></div>
      </div>
    </div>
  </div>
  <script>

function checkAll(form, name) {
for(var i = 0; i < form.elements.length; i++) {
var e = form.elements[i];
if(e.name.match(name)) {
e.checked = form.elements['chkall'].checked;
}
}
}

function changesort(tid,sortval){

var image=new Image();   
image.src='index.php?ac=app&op=sort&wxid=gh_423dwjkewad&tid='+tid+'&sort='+sortval+'&r='+Math.random(); 

}
  </script>
  <!--底部-->
  	</div>
</body>
</html>
 